package com.dapeis.api.controller.collocation;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.gson.JsonElement;

/**
 * 搭配师设置
 * 
 * @author win7
 *
 */
public interface ISettingsController {
    /**
     * 发布意见和反馈
     * 
     * @param feedback
     * @param contact
     * @param request
     * @return
     */
    @RequestMapping(value = "/saveFeedback", method = RequestMethod.POST)
    @ResponseBody
    JsonElement saveFeedback(String feedback,
	    @RequestParam(required = false) String contact,
	    HttpServletRequest request);

    /**
     * 账号安全:查看id 银行账号
     * 
     * @param contact
     * @param request
     * @return
     */
    @RequestMapping(value = "/selectAccountSec", method = RequestMethod.POST)
    @ResponseBody
    JsonElement selectAccountSec(HttpServletRequest request);

    /**
     * 我的消息
     * @param request
     * @return
     */
    @RequestMapping(value = "/getMessage")
    @ResponseBody
    JsonElement getMessage(@RequestParam(required = false) Integer curretPager,HttpServletRequest request);

}
